/* ----------------KHAI BAO NGUYEN MAU HAM-------------------- */

//=> Sua thong tin sach
int editBook(char *nameOfBook, char *author, char *publisher, int releaseYear, int price);
//=> Them sach
int addBook(char *nameOfBook, char *author, char *publisher, int releaseYear, int price);
//=> Kiem tra dinh dang mail
int checkMail(char *mail, int flag);
//=> Kiem tra thong tin nguoi dung luc dang nhap
int valiLogin(char *ID, char *password);
//=> Them thong tin khach hang
int addUser(char *name, char *address, char *phone, char *age, char *sex,
			char *bankAccount, char *job, char *email, char *password);
//=> Sua thong tin khach hang
int editUser(char *name, char *address, char *phone, char *age, char *sex,
			 char *job, char *email, char *bankAccount, char *password);
//=> Xoa sach
int removeBook(char *nameOfBook);
//=> Them vao quan ly dau sach
void enterManagerBooks(char* nameOfBook, int choose);
//=> Tao duong link truy cap den ngay thang nam
void linkStatistics(char* c);
//=> Thang toan sach
void statisticBook(char* nameOfBook, long int price);
//=> Cho sach vao gio
int addCart(char *nameOfBook, char *email);
//=> Tim kiem su ton tai cua file
int findFile(char *str, const char* folder);
//=> Chuan hoa ten file thanh duoi .amazon
void pathFile(char *str);
//=> Thong ke doanh thu
unsigned long int statisticsRevenue(char* yearSt, char* monthSt, char* daySt, int choose);
//=> Kiem tra Password
int checkPW(char *password, int mode);
//=> Menu dang nhap danh cho nhan vien
void login();
//=> In thong tin khach hang tim duoc
void showUser(char* email);
//=> In thong tin 1 cuon sach
void showOneBook(char* nameOfBook);
//=> In thong tin thu vien sach
void showLibBook();
//=> Xoa man hinh
void cls();
//=> Xoa bo nho dem
void flushCache(int mode);
//=> Xoa khoang trang
void deleteSpace(char *str);
//=> Them khoang trang
void addSpace(char* str);
//=> Menu ve quan ly thong tin sach
void menuManagerBook();
//=> Menu quan ly doanh thu ban hang
void menuStatistics();
//=> Menu dang nhap danh cho khach hang
void loginCustomer(char *email);
//=> In hoa don
void showBillBook(char* nameOfBook, char* author, char* publisher, int releaseYear, int price);
//=> Mua sach trong gio
void buyBook(char *email, char* nameOfBook);
